Proper connect_port
[juce-lv2.git] / juce / source / extras / audio plugins / demo / Builds / Linux / Makefile
blob5bbaa9fb6ffbaa7ffd99ef95a29a5f1ff80bb1b6
1 # Automatically generated makefile, created by the Jucer
2 # Don't edit this file! Your changes will be overwritten when you re-save the Jucer project!
4 ifndef CONFIG
5 CONFIG=Debug
6 endif
8 ifeq ($(TARGET_ARCH),)
9 TARGET_ARCH := -march=native
10 endif
12 # (this disables dependency generation if multiple architectures are set)
13 DEPFLAGS := $(if $(word 2, $(TARGET_ARCH)), , -MMD)
15 ifeq ($(CONFIG),Debug)
16 BINDIR := build
17 LIBDIR := build
18 OBJDIR := build/intermediate/Debug
19 OUTDIR := build
20 CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "../../JuceLibraryCode" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2"
21 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -fPIC -O0
22 CXXFLAGS += $(CFLAGS)
23 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -shared -L"/usr/X11R6/lib/" -L"../../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound
24 LDDEPS :=
25 RESFLAGS := -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "../../JuceLibraryCode" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2"
26 TARGET := JuceDemoPlugin.so
27 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
28 endif
30 ifeq ($(CONFIG),Release)
31 BINDIR := build
32 LIBDIR := build
33 OBJDIR := build/intermediate/Release
34 OUTDIR := build
35 CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "../../JuceLibraryCode" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2"
36 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -fPIC -Os
37 CXXFLAGS += $(CFLAGS)
38 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -shared -L"/usr/X11R6/lib/" -L"../../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound
39 LDDEPS :=
40 RESFLAGS := -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "../../JuceLibraryCode" -I "~/SDKs/vstsdk2.4" -I "/usr/include" -I "/usr/include/freetype2"
41 TARGET := JuceDemoPlugin.so
42 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
43 endif
45 OBJECTS := \
46 $(OBJDIR)/PluginProcessor_a059e380.o \
47 $(OBJDIR)/PluginEditor_94d4fb09.o \
48 $(OBJDIR)/JuceLibraryCode1_682c927f.o \
49 $(OBJDIR)/JuceLibraryCode2_683aaa00.o \
50 $(OBJDIR)/JuceLibraryCode3_6848c181.o \
51 $(OBJDIR)/JuceLibraryCode4_6856d902.o \
52 $(OBJDIR)/juce_VST_Wrapper_f1303484.o \
54 .PHONY: clean
56 $(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
57 @echo Linking JuceDemoPlugin
58 -@mkdir -p $(BINDIR)
59 -@mkdir -p $(LIBDIR)
60 -@mkdir -p $(OUTDIR)
61 @$(BLDCMD)
63 clean:
64 @echo Cleaning JuceDemoPlugin
65 -@rm -f $(OUTDIR)/$(TARGET)
66 -@rm -rf $(OBJDIR)/*
67 -@rm -rf $(OBJDIR)
69 $(OBJDIR)/PluginProcessor_a059e380.o: ../../Source/PluginProcessor.cpp
70 -@mkdir -p $(OBJDIR)
71 @echo "Compiling PluginProcessor.cpp"
72 @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
74 $(OBJDIR)/PluginEditor_94d4fb09.o: ../../Source/PluginEditor.cpp
75 -@mkdir -p $(OBJDIR)
76 @echo "Compiling PluginEditor.cpp"
77 @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
79 $(OBJDIR)/JuceLibraryCode1_682c927f.o: ../../JuceLibraryCode/JuceLibraryCode1.cpp
80 -@mkdir -p $(OBJDIR)
81 @echo "Compiling JuceLibraryCode1.cpp"
82 @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
84 $(OBJDIR)/JuceLibraryCode2_683aaa00.o: ../../JuceLibraryCode/JuceLibraryCode2.cpp
85 -@mkdir -p $(OBJDIR)
86 @echo "Compiling JuceLibraryCode2.cpp"
87 @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
89 $(OBJDIR)/JuceLibraryCode3_6848c181.o: ../../JuceLibraryCode/JuceLibraryCode3.cpp
90 -@mkdir -p $(OBJDIR)
91 @echo "Compiling JuceLibraryCode3.cpp"
92 @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
94 $(OBJDIR)/JuceLibraryCode4_6856d902.o: ../../JuceLibraryCode/JuceLibraryCode4.cpp
95 -@mkdir -p $(OBJDIR)
96 @echo "Compiling JuceLibraryCode4.cpp"
97 @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
99 $(OBJDIR)/juce_VST_Wrapper_f1303484.o: ../../../../../../juce/src/audio/plugin_client/VST/juce_VST_Wrapper.cpp
100 -@mkdir -p $(OBJDIR)
101 @echo "Compiling juce_VST_Wrapper.cpp"
102 @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
104 -include $(OBJECTS:%.o=%.d)